package com.minelx.sqlstructures.core.table;

import com.alibaba.fastjson.JSONArray;
import com.minelx.sqlstructures.core.values.FieldValues;
import com.minelx.sqlstructures.statements.Query;

import java.util.List;

public interface ITable {
	List<FieldValues> getFields();

	String getName();

	void clear();

	JSONArray toJSON(Query query);

	void attach(JSONArray lines);

	FieldValues primary();
}
